package com.geekhalo.admin.infra.user;


import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.geekhalo.admin.domain.user.UserCommandRepository;
import com.geekhalo.admin.domain.user.User;
import java.lang.Long;

@Repository("userCommandRepository")
public interface JpaBasedUserCommandRepository extends UserCommandRepository,JpaRepository<User, Long> {
    @Override
    default User sync(User agg){
        return save(agg);
    }


}
